package com.appkubes.mall.restful.application.goods.sku.service;

import com.appkubes.mall.core.entity.MallGoodsSpecificSku;
import com.appkubes.mall.core.service.BaseMallGoodsSpecificSkuService;
import com.appkubes.mall.restful.application.goods.sku.dao.GoodsSpecificSkuDao;
import com.appkubes.mall.restful.application.goods.sku.entity.vo.SkuStockVO;

import java.util.List;

public interface GoodsSpecificSkuService extends BaseMallGoodsSpecificSkuService {
    GoodsSpecificSkuDao getDao();

    List<MallGoodsSpecificSku> getList(String goodsKey, String SkuDims);

    MallGoodsSpecificSku find(String goodsKey, String skuCode);

    boolean cutStock(SkuStockVO skuStockVO);

    boolean resumeStock(SkuStockVO skuStockVO);
}
